package com.woniuxy.core.exception.platformException;

public enum PlatformExceptionCode {
    DEL_ERROR(4009,"删除失败"),
    NOT_ACCOUNT(4008,"没有该账号"),
    ACCOUNT_HUAE_PEPOLEUSE(4007,"账号已被注册"),
    PASS_DAYU_6(4006,"密码必须大于6位"),
    MUST_11_NUMBER(4005,"账号必须为11位的数字"),
    PLATFORM_ADMIN_NOT_PASS(4004,"管理员还未审核或审核未通过"),
    PLATFORM_ERROR_ACCPSS(4003,"请输入正确的账号密码"),
    PLATFORM_PASS_NOT_NULL(4002,"平台密码不能为空"),
    PLATFORM_ACCOUNT_NOT_NULL(4001,"平台账号不能为空");

    private Integer code;

    private String message;

    PlatformExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
